package April.二叉搜索树的范围和0427;
class a{
    int ss;
    public int getM(){
        return ss;
    }
    public int seeM(){
        return ss;
    }
}
class b extends a{
    int ss;
    public int getM(){
        return ss+100;
    }

}
public class Test {


    public static void main(String[] args) {
        b bb=new b();
        bb.ss=20;
        System.out.println(bb.getM());
        a aa=bb;
        aa.ss=-100;
        System.out.println(aa.getM());
        System.out.println(bb.seeM());
    }
}
